var mongoose  = require('mongoose');
var Schema    = mongoose.Schema;
var ObjectId  = Schema.ObjectId;

var TesterSchema = new Schema({
    title:{type:String},
    content: { type: String },
    create_at: { type: Date, default: Date.now },
    update_at: { type: Date, default: Date.now }
});


//TesterSchema.index({topic_id: 1});
//TesterSchema.index({author_id: 1, create_at: -1});

mongoose.model('Tester', TesterSchema);
